﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LarX_Editor
{
    public partial class ConfigureAnim : Form
    {
        public MainForm Form;

        public ConfigureAnim(MainForm Form)
        {
            this.Form = Form;
            InitializeComponent();

            this.minFrames.Text = Form.GetMinFrames.ToString();
            this.maxFrames.Text = Form.GetMaxFrames.ToString();
        }

        private void button_NumberOK_Click(object sender, EventArgs e)
        {
            Form.SetFrames(int.Parse(this.minFrames.Text), int.Parse(this.maxFrames.Text));
            this.Close();
        }
    }
}
